#ifndef RIGHTLIGHTBUTTON_H
#define RIGHTLIGHTBUTTON_H

#include <QWidget>
#include "lightbutton.h"
#include "qdatetime.h"
#include "qtimer.h"
namespace Ui {
class rightLightButton;
}

class rightLightButton : public QWidget
{
    Q_OBJECT

public:
    explicit rightLightButton(QWidget *parent = nullptr);
    ~rightLightButton();
    QTimer *timer;
    void setStartOrStop(bool);
private:
    Ui::rightLightButton *ui;
    QList<LightButton *> btnsLight;
    int type;

private slots:
    void initForm();
    void updateValue();
};

#endif // RIGHTLIGHTBUTTON_H
